const columns=[
    {
        label: "ID",
        field: "id",
        width: "280px",
        type: "number",
        isSort: true,
        orderBy: "desc",
        isId: true,
        isSearch: true,
        isEdit: false,
        searchSetting: {
        }
    },
    {
        label: "头像",
        field: "fileIdOfAvatar",
        type: "img",
        width: "100px",
        isEdit: true,
        isSearch: false,
        isAdd: true,
        setting: {
            type: "id",
            groupCode: "userAccountAvatar",
        }
    },
    {
        label: "用户名",
        field: "username",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: false,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "密码",
        field: "password",
        type: "text",
        width: "200px",
        isHide: true,
        // 是否可编辑
        isEdit: false,
        isSearch: false,
        isAdd: true,
    },
    {
        label: "昵称",
        field: "nickname",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "邮箱",
        field: "email",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "手机区号",
        field: "phoneAreaCode",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
        setting: {
        }
    },
    {
        label: "手机号",
        field: "phone",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "创建时间",
        field: "gmtCreate",
        type: "datetime",
        width: "200px",
        // 是否可编辑
        isEdit: false,
        isSearch: true,
        isAdd: false,
        setting: {
            format: "YYYY-MM-DD hh:mm:ss"
        }
    }
]

export default columns